import 'package:fish_redux/fish_redux.dart';

enum UserInfoAction {
  action,
  onTap,
  onSubmit,
}

class UserInfoActionCreator {
  static Action onAction() {
    return const Action(UserInfoAction.action);
  }

  static Action onTap(index) {
    return Action(UserInfoAction.onTap, payload: index);
  }

  static Action onSubmit() {
    return const Action(UserInfoAction.onSubmit);
  }
}
